/**
 * 说明：
 * 创建人：pluto
 * 创建时间：2018/8/9
 */

var CustomerService = function (request) {
    this.list = function(param){
        return request.post("v0/user/list", param);
    };
    this.isFrozen = function(param){
        return request.put("v0/user", param);
    };
    this.refreshCardImg = function (userId) {
        return request.put("v0/user/refresh/cardimg/"+userId, {});
    }
};

angular.module('app.customer.service',[]).service("CustomerService", CustomerService);
